<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加订单</title>
<link rel="stylesheet" href="css/pintuer.css">
<link rel="stylesheet" href="css/admin.css">
<script src="js/jquery.js"></script>
<script src="js/pintuer.js"></script>
</head>
<body>
<div class="loginleft fl">
		<div class="login_title">
			<h2>
			  <p align="center">添加订单</p>
			</h2><hr>
			<p align="center"></p>
		</div>
		<form name="form1" method="post" action="InsertCustomerServlet">
			<% 
			    String roomId=(String)session.getAttribute("roomId");
               // String roomId = (String)request.getAttribute("roomid");
				String msg1 = (String) request.getAttribute("error1");
				String msg2 = (String) request.getAttribute("error2");
				String msg3 = (String) request.getAttribute("error3");
				String msg4 = (String) request.getAttribute("error4");
				String msg5 = (String) request.getAttribute("error5");
				String msg6 = (String) request.getAttribute("error6");
				String msg7 = (String) request.getAttribute("error7");
				String msg8 = (String) request.getAttribute("error8");
				String msg9 = (String) request.getAttribute("error9");
			%>
	    <div class="biaodani">
			<div class="inputi">
				<p align="center">
					<label>&nbsp;&nbsp;&nbsp;房间号：&nbsp;&nbsp;&nbsp;</label> 
					<input type="text" name="roomId" readonly="readonly" value="<%=roomId%>">
			</div>
			<div class="inputi">
				<p align="center">
					<label>&nbsp;&nbsp;姓&nbsp;&nbsp;&nbsp;名：&nbsp;&nbsp;&nbsp;&nbsp;</label>
				    <input type="text" name="name" placeholder="张三" value="">
				    <span style="color: red;"><%=msg1 == null ? "" : msg1%></span>
			</div>
			<div class="inputi">
				<p align="center">
					<label>&nbsp;&nbsp;性&nbsp;&nbsp;&nbsp;别：&nbsp;&nbsp;&nbsp;&nbsp;</label> 
					<input type="text" name="sex" placeholder="男/女" value="">
					<span style="color: red;"><%=msg2 == null ? "" : msg2%></span>
			</div>
			<div class="inputi">
				<p align="center">
					<label>&nbsp;&nbsp;年&nbsp;&nbsp;&nbsp;龄：&nbsp;&nbsp;&nbsp;&nbsp;</label> 
					<input type="text" name="age" placeholder="**" value="">
					<span style="color: red;"><%=msg3 == null ? "" : msg3%></span>
			</div>
			<div class="inputi">
				<p align="center">
					<label>&nbsp;&nbsp;国&nbsp;&nbsp;&nbsp;籍：&nbsp;&nbsp;&nbsp;&nbsp;</label> 
					<input type="text" name="nationality" placeholder="中国/日本/美国..." value="">
					<span style="color: red;"><%=msg4 == null ? "" : msg4%></span>
			</div>
			<div class="inputi">
				<p align="center">
					<label>身份证号：&nbsp;&nbsp;</label> 
					<input type="text" name="card" placeholder="123456001" value="">
					<span style="color: red;"><%=msg5 == null ? "" : msg5%></span>
			</div>
			<div class="inputi">
				<p align="center">
					<label>联系方式：&nbsp;&nbsp;</label> 
					<input type="text" name="phone" placeholder="12345670000" value="">
					<span style="color: red;"><%=msg6 == null ? "" : msg6%></span>
			</div>
			<div class="inputi">
				<p align="center">
					<label>入住时间：&nbsp;&nbsp;</label> 
					<input type="text" name="intoTime" placeholder="2019.12.1" value="">
					<span style="color: red;"><%=msg7 == null ? "" : msg7%></span>
			</div>
			<div class="inputi">
				<p align="center">
					<label>离开时间：&nbsp;&nbsp;</label> 
					<input type="text" name="outTime" placeholder="2019.12.2" value="">
					<span style="color: red;"><%=msg8 == null ? "" : msg8%></span>
			</div>
			<div class="inputi">
				<p align="center">
					<label>房间状态：&nbsp;&nbsp;</label> 
					<input type="text" name="roomStatus" placeholder="有客" value="">
					<span style="color: red;"><%=msg9 == null ? "" : msg9%></span>
			</div>
		<div class="login_btn">
			<p align="center">
				&nbsp;&nbsp;&nbsp;&nbsp; 
				<input name="确定" type="submit"class="input-8" value="确定">
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
				<input name="重置" type="reset" class="submitbutton" id="submit_button" value="重置">
		</div>
		
	</div>
	</form>
	</div>
</body>
</html>